{% extends "base.html" %} {% block title %}Video Recordings - Appointment #{{ appointment.id }} - Quick Care Connect{% endblock %} {% block content %}
Patient: {{ appointment.patient.user.name if appointment.patient and appointment.patient.user else '-' }}
Doctor: {{ appointment.doctor.user.name if appointment.doctor and appointment.doctor.user else '-' }}
Date: {{ appointment.appointment_date.strftime('%d %b %Y') if appointment.appointment_date else '-' }}, {{ appointment.appointment_time.strftime('%H:%M') if appointment.appointment_time else '-' }}
Type: {{ appointment.appointment_type }}
{% if appointment.patient_disputed and appointment.dispute_reason %}Dispute reason: {{ appointment.dispute_reason }}
{% endif %}| Session | Started | Ended | Duration | Status | Playback |
|---|---|---|---|---|---|
| #{{ r.id }} | {{ r.started_at.strftime('%d %b %Y %H:%M:%S') if r.started_at else '-' }} | {{ r.ended_at.strftime('%d %b %Y %H:%M:%S') if r.ended_at else '-' }} | {% if r.duration_seconds %}{{ r.duration_seconds }}s{% else %}-{% endif %} | {% if r.status == 'recording' %}Recording {% elif r.status == 'stopping' %}Processing {% elif r.status == 'ready' %}Ready {% elif r.status == 'failed' %}Failed {% else %}{{ r.status }}{% endif %} | {% if r.file_url and r.status == 'ready' %} View {% elif r.file_path and r.status == 'ready' %} Stored (configure playback) {% else %} — {% endif %} |
Recordings start when both doctor and patient join the call; each reconnection creates a new recording.
{% else %}No recordings for this appointment.
Recordings are created when both parties are in a video call. If recording is enabled, new sessions will appear here.